package com.Ajava1801D.设计模式.代理模式.静态代理;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2020/10/12  14:54
 * 描述:
 */
public class Test1801DaiLi implements Test1801JingTaiInterface{

    private Test1801JingTaiInterface test1801JingTai;

    public Test1801DaiLi(Test1801JingTaiInterface test1801JingTai) {

        this.test1801JingTai = test1801JingTai;
    }

    @Override
    public String yyyy() {

        System.out.println("--------1------");

        String yyyy = test1801JingTai.yyyy();

        System.out.println("--------2------");

        return yyyy;
    }
}
